import 'package:flutter/material.dart';

/// 功能色
class YJColors {
  /// 主要颜色
  static const Color PRIMARY = Color(0xff3880FF);

  /// 次要颜色
  static const Color SECONDARY = Color(0xffAA66CC);

  /// 危险
  static const Color DANGER = Color(0xffF04141);

  ///黑暗的
  static const Color DARK = Color(0xff222428);

  /// 成功 Success
  static const Color SUCCESS = Color(0xff00B42A);
  static const Color LIGHT_SUCCESS = Color(0xffE8FFEA); // 浅色背景下的颜色

  /// 提醒 Notice
  static const Color NOTICE = Color(0xffFEB112);
  static const Color LIGHT_NOTICE = Color(0xffFFF7E8);

  /// 警示 Warning
  static const Color WARNING = Color(0xffF53F3F);
  static const Color LIGHT_WARNING = Color(0xffFFECE8);

  /// 文字链接 Infolink
  static const Color INFOLINK = Color(0xff1B98FF);
  static const Color LIGHT_INFOLINK = Color(0xffE2F2FF);

  static const Color TRANSPARENT = Colors.transparent;

  /// 白色
  static const Color WHITE = Colors.white; // 正文标题
  static const Color WHITE10 = Color(0xFF1AFFFFFF);
  static const Color WHITE20 = Color(0xFF33FFFFFF);
  static const Color WHITE25 = Color(0xFF40FFFFFF);
  static const Color WHITE30 = Color(0xFF4DFFFFFF);
  static const Color WHITE35 = Color(0xFF59000000);
  static const Color WHITE40 = Color(0xFF66FFFFFF); // 提示字
  static const Color WHITE50 = Color(0xFF80FFFFFF);
  static const Color WHITE60 = Color(0xFF99FFFFFF); //次要信息
  static const Color WHITE65 = Color(0xFFa6FFFFFF);
  static const Color WHITE80 = Color(0xFFCCFFFFFF); // 正文
  static const Color WHITE85 = Color(0xFFD9FFFFFF); // 正文
  static const Color WHITE90 = Color(0xFFE6FFFFFF);

  /// 黑色
  static const Color BLACK = Colors.black;
  static const Color BLACK5 = Color(0xFFd0000000);
  static const Color BLACK10 = Color(0xFF1A000000);
  static const Color BLACK20 = Color(0xFF33000000);
  static const Color BLACK25 = Color(0xFF40000000); // 禁用信息
  static const Color BLACK30 = Color(0xFF4D000000);
  static const Color BLACK40 = Color(0xFF66000000);
  static const Color BLACK45 = Color(0xFF73000000); // 次要信息
  static const Color BLACK50 = Color(0xFF80000000);
  static const Color BLACK65 = Color(0xFFa6000000); // 正文文本
  static const Color BLACK85 = Color(0xFFD9000000); // 正文标题
  static const Color BLACK90 = Color(0xFFE6000000);

  /// 主题颜色
  static const Color THEME_COLOR = Color(0xffFF6A00);

  /// Press-点击态
  static const Color PRESS_COLOR = Color(0xffE55F00);

  /// Disable-不可点击
  static const Color DISABLED_COLOR1 = Color(0x1aEDEDED);

  /// Disable-不可点击
  static const Color DISABLED_COLOR2 = Color(0xffFFD9BF);

  /// 分割线颜色
  static const Color LINE_COLOR = Color(0xffE5E6EB);

  /// 全局背景色
  static const Color BACKGROUND_COLOR = Color(0xffF4F4F4);

  /// 文本背景色
  static const Color TEXT_BACKGROUND_COLOR = Color(0xffF8F8F9);

  /// 文字提示字颜色
  static const Color TEXT_HINT_COLOR = Color(0xffC9CDD4);

  /// 全局背景色
  static const Color color_f5f5f5 = Color(0xff969191);
}
